package com.qn.meta.vo;

import cn.dev33.satoken.session.TokenSign;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Data
@Tag(name="在线用户对象")
public class SessionListVo implements Serializable {
    @Schema(description = "用户ID")
    public Integer id;
    @Schema(description = "用户")
    public String name;
    @Schema(description = "登录类型")
    public String loginType;
    @Schema(description = "登录时间")
    public Date createTime;
    @Schema(description = "登录设备")
    List<TokenSign> tokenSignList;
    @Schema(description = "有效期剩余（秒）")
    public long timeout;
    @Schema(description = "用户IP")
    private String clientIp;
    @Schema(description = "访客代理")
    private String userAgent;
    @Schema(description = "客户端语言")
    private String clientLanguage;
}
